import RequestModel from "@/common/model/request.model";
import ResponseModel from "@/common/model/response.model";
import Service from "@/common/service/service";
import {GET_MODEL_LIST} from "@/views/bpm/instance/instance.const";
import {InstanceModel} from "@/views/bpm/instance/model/instance.model";

export default class InstanceService {

    /**
     * 获取实例列表数据
     */
    public static getModelList(param: RequestModel<InstanceModel>): Promise<ResponseModel<InstanceModel[]>> {
        return Service.post(GET_MODEL_LIST, param);
    }
}
